//
//  NSObject+Extend.m
//  MexicoLoan
//
//  Created by wxp on 2025/2/25.
//

#import "NSObject+Extend.h"

@implementation NSObject (Extend)

+ (void)clickFeedback{
    UIImpactFeedbackGenerator *feedbackGenerator = [[UIImpactFeedbackGenerator alloc] initWithStyle: UIImpactFeedbackStyleMedium];
    [feedbackGenerator impactOccurred];
}

+ (void)clickFeedbackWithStyle:(UIImpactFeedbackStyle)style {
    UIImpactFeedbackGenerator *feedbackGenerator = [[UIImpactFeedbackGenerator alloc] initWithStyle:style];
    [feedbackGenerator impactOccurred];
}

@end
